package com.health.mapper;

import com.health.dto.OrderDTO;
import com.health.dto.OrderIdDTO;
import com.health.entity.Order;
import com.health.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface OrderMapper {


    void save(Order order);

    Order getById(Long orderId);

    List<OrderVO> list(Long patientId);
}
